package redora.performance.test.hibernate.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class User {
	
	public Date creationDate;
	public Date updateDate;
	public Long id;
	public String name;
    public Set<Tweet> tweets = new HashSet<Tweet>();

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
    public Set<Tweet> getTweets() {
        return tweets;
    }

    public void setTweets(Set<Tweet> tweets) {
        this.tweets = tweets;
    }
	public Date getCreationDate() {
		return creationDate;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}	
}
